package com.thc.service.impl;

import com.thc.domin.Order;
import com.thc.mapper.OrderMapper;
import com.thc.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public void add(Order order) {
        orderMapper.add(order);
    }
}
